package fr.enseirbmatmeca.apms.tapestry.components;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.services.ApplicationDefaults;

import fr.enseirbmatmeca.apms.tapestry.pages.Redirect;

public class LoginVisitor {

	@ApplicationDefaults
	@Property
	private String login;

	@Property
	private String password;

	public void onActivate(){
		login = "Entrez votre identifiant";
	}

	Object onSuccessFromVisitor() {
		return Redirect.class ;
	}

	/**
	 * Do the cross-field validation	
	 */
	void onValidateFromVisitor()
	{
	}

}
